﻿
using System;
namespace Konveyer.Core.Interfaces
{
    /// <summary>
    /// Used to inject concrete implementations into plugins
    /// </summary>
    public interface IInstanceProvider
    {
        T Get<T>()
        where T : class;
        object Get(Type type);
        void Register<T>(Type type);
        void Register<T>(T instance);
    }
}
